package com.smart.seckilldemo.service;

import com.smart.seckilldemo.commons.result.ResponseResult;

public interface SeckillService {


    /**
     * 秒杀事务
     * @param userId
     * @param goodId
     * @param
     * @return 返回订单号
     */
    ResponseResult Seckill(Long userId, Long goodId,Integer number);

    /**
     * 预热秒杀数据
     */
    void DataLoaderSeckill();
}
